// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:06


// Source File Name:   n5.java

package com.zelix;



//            m5, dp

public class n5
    implements m5
{

    private final String a;
    private final String b;
    private String c;
    private final int d;

    public n5(String s, String s1)
    {
        a = s;
        b = dp.a(s1);
        c = s1.substring(b.length());
        if(c.length() == 0)
            c = null;
        d = (s + b).hashCode();
    }

    public n5(String s, String s1, String s2)
    {
        a = s;
        b = s1;
        c = s2;
        d = (s + s1).hashCode();
    }

    public boolean equals(Object obj)
    {
        if(obj == null || !(obj instanceof n5))
        {
            return false;
        } else
        {
            n5 n5_1 = (n5)obj;
            return d == n5_1.d && a.equals(n5_1.a) && b.equals(n5_1.b);
        }
    }

    public boolean a(dp dp1)
    {
        return equals(dp1.a());
    }

    public String c()
    {
        return a;
    }

    public String a()
    {
        return b;
    }

    public String b()
    {
        return c;
    }

    public int hashCode()
    {
        return d;
    }
}